//
//  NKWeeklyCollectionCell.swift
//  Nokia
//
//  Created by 易先生 on 2022/3/31.
//

import UIKit
import MYModule

class DataWeeklyBarTitleCollectionCell: CollectionViewCell {
    
    override func makeUI() {
        super.makeUI()
        contentView.addSubview(titleLabel)
        titleLabel.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    public func configStr(title: String, textFont: UIFont, textColor: UIColor) {

        titleLabel.text = title
        titleLabel.textColor = textColor
        titleLabel.font = textFont
    }
    
    public lazy var titleLabel: UILabel = {
        let titleLabel = UILabel()
        titleLabel.textAlignment = .center
        return titleLabel
    }()
}
